<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li class="active">友情链接列表</li>
  </ol>
  <table class="table table-striped table-hover">
    <thead>
      <tr>
        <th width="50">ID</th>
        <th>文字</th>
        <th>链接</th>
        <th width="80">优先级</th>
        <!--
        <th width="60">状态</th>
        -->
        <th width="100">操作</th>
      </tr>
    </thead>
    <tbody>
      <tr ng-repeat="ad in ads">
        <td>{{ad.id}}</td>
        <td>{{ad.title}}</td>
        <td><a href="{{ad.url}}" target="_blank">{{ad.url}}</a></td>
        <td>{{ad.index}}</td>
        <!--
        <td><span ng-class="{'text-muted':ad.status=='02','text-primary':ad.status=='01'}">{{ad.status | advertStatusRender}}</span></td>
        -->
        <td class="optd">
          <a href="#/link/edit?id={{ad.id}}">编辑</a>
          <a class="cur-p" ng-click="linkDelete(ad.id)">删除</a>
        </td>
      </tr>
    </tbody>
  </table>

	<div class="pager-box" ng-include src="'tpl/public/pager.html'" ng-show="ads.length > 0"></div>
</div>
